package com.itelite.service;

import com.itelite.domain.dto.Carousel;
import com.itelite.domain.pojo.Config;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/8/9-15:05
 **/
public interface ConfigService {
    /**
     * 获取轮播图
     * @return 轮播图
     */
    List<Carousel> getCarousel();

    Config getBackGround();

    boolean deleteCarousel(Integer carouselId);

    boolean uploadCarousel(MultipartFile file);

    boolean uploadBackGroup(MultipartFile file);

    boolean updateSendState(Integer state);

    int getSendState();
}
